<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="../css/global.css"/>
    <link rel="stylesheet" type="text/css" href="../css/jquery.ui.css" />
    <link rel="stylesheet" type="text/css" href="../css/css.css"/>
</head>
<body class="ticketBody">
<!--中间-->
<div class="webIndex">
<div class="stay-list clearFloat">
    <div class="stay-list-left">
        <span class="search-sign"></span>
        <h3 class="search-title">住宿预订</h3>
        <form>
            <div class="sea-div">
                <label class="search-lab">入住日期</label><input type="text" readonly  name="startDate" id="startDate"/>
            </div>
            <div class="sea-div">
                <label class="search-lab">退房日期</label><input type="text" readonly name="endDate" id="endDate"/>
            </div>
            <input type="button"  class="search-but" value="确定" onclick="makeSure()"/>
        </form>


</div>
</div>
<script type="text/javascript" src="../js/public/jquery.js"></script>
<script type="text/javascript" src="../js/public/jquery.ui.js"></script>
<script type="text/javascript" src="../js/public/moment.min.js"></script>
<script type="text/javascript" src="../js/public/hotel.search.js"></script>
<script type="text/javascript" src="../js/public/stay.js"></script>
</body>
<script type="text/javascript">
	function makeSure(){
		$.ajax({
			url:"${pageContext.request.contextPath }/calendar.action",
			type:"post",
			data:{
				"begin":$("#startDate").val(),
				"end":$("#endDate").val()
			},
			
		})
	}
</script>
</html>
